package main

import "fmt"

type Person struct {
	name,address string
	age int
}

func main() {
	var person = &Person{}
	//var person =  new(Person)
	person.age = 23
	person.name = "John"
	person.address = "山东大道"
	p2 := person
	(*p2).name = "DIO"
	fmt.Println(*person)
	fmt.Println(*p2)
}
